package org.example.classdemo.functioninterface;

import lombok.Data;

@Data
public class Apple implements IApple {
    private String name;
    private String color;

    @Override
    public void get() {
        Apple apple = new Apple();
        apple.say();
    }
}
